package example;

/**
 * 客户端测试
 *
 * @author zhang he qiang
 */
public class DatingPlatform {
    public static void main(String[] args)
    {
        Medium md=new EstateMedium();    //房产中介
        Customer member1,member2;
        member1=new Seller("蓦然回首(卖方)");
        member2=new Buyer("灯火阑珊(买方)");
        md.register(member1); //客户注册
        md.register(member2);
    }
}
